package basicClasses;

import java.io.Serializable;

import com.google.api.client.util.Key;

public class Place implements Serializable {
	
	public String userName;

		@Key
    	public String status;
	
		@Key
	    public String id;
	     
	    @Key
	    public String name;
	     
	    @Key
	    public String reference;
	     
	    @Key
	    public String icon;
	     
	    @Key
	    public String vicinity;
	     
	    @Key
	    public Geometry geometry;
	     
	    @Key
	    public String formatted_address;
	     
	    @Key
	    public String formatted_phone_number;
	 
	    @Override
	    public String toString() {
	        return name;
	    }
	     
	    public static class Geometry implements Serializable
	    {
	        @Key
	        public Location location;
	    }
	     
	    public static class Location implements Serializable
	    {
	        @Key
	        public double lat;
	         
	        @Key
	        public double lng;
	    }
}
